<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="style/css/common.css" type="text/css" />
<LINK href="style/css/jquery-ui-1.7.2.custom.min.css" type=text/css rel=stylesheet>
<title>管理区域</title>
</head>
<body>
<div id="man_zone">

<table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
<form id="form1" name="form1" method="post" action="">
  <tr>
    <td align="right">文章标题</td>
    <td>
      <input type="text" name="title" value="<%$article.title%>" size="60"  />
    </td>
  </tr>
  <tr>
    <td align="right">副标题</td>
    <td><input type="text" name="ftitle" value="<%$article.ftitle%>"  size="60" /></td>
  </tr>
   <tr>
    <td align="right">审核</td>
    <td>
    <input name="html" type="checkbox" value="1" <%if $article.html%>checked="checked"<%/if%>>
    </td>
  </tr>
  <tr>
    <td align="right">自定义属性</td>
    <td>
      <label>
      	头条<input name="flag[]" type="checkbox" id="checkbox"<%if $article.flag&&in_array('h',$article.flag)%> checked="checked"<%/if%> value="h" />
      </label>
      <label>
      	推荐<input name="flag[]" type="checkbox" id="checkbox" <%if $article.flag&&in_array('c',$article.flag)%> checked="checked"<%/if%> value="c" />
      </label>
      <label>
      	幻灯<input name="flag[]" type="checkbox" id="checkbox"<%if $article.flag&&in_array('f',$article.flag)%> checked="checked" <%/if%> value="f" />
      </label>
      <label>
      	特荐<input name="flag[]" type="checkbox" id="checkbox"<%if $article.flag&&in_array('a',$article.flag)%> checked="checked"<%/if%> value="a" />
      </label>
      <label>
      	图片<input name="flag[]" type="checkbox" id="checkbox"<%if $article.flag&&in_array('p',$article.flag)%> checked="checked"<%/if%> value="p" />
      </label>
    </td>
  </tr>
   <tr>
    <td align="right">所属栏目</td>
    <td>
    <select name="classid">
    <%foreach item=val from=$columns%>
    <option value="<%$val.classid%>"<%if $val.classid eq $column.classid%> selected="selected"<%/if%>><%$val.classname%></option>
    <%/foreach%>
    </select>
    </td>
  </tr>
  <tr>
    <td align="right">缩略图</td>
    <td><input type="text" name="litpic" value="<%$article.litpic%>"  size="60" /></td>
  </tr>
   <tr>
    <td align="right">排序</td>
    <td><input type="text" name="sort" value="<%$article.sort%>"  /></td>
  </tr>
  <tr>
    <td align="right">作者</td>
    <td><input type="text" name="writer" value="<%$user.username%>"  /></td>
  </tr>
  <tr>
    <td align="right">tag</td>
    <td><input type="text" name="tag" value="<%$article.tag%>"  /></td>
  </tr>
  <tr>
    <td align="right">关键字</td>
    <td><input type="text" name="keyword" value="<%$article.keyword%>"  size="60" /></td>
  </tr>
   <tr>
    <td align="right">摘要</td>
    <td><textarea name="digest" cols="6" rows="4" style="width:500px;"><%$article.digest%></textarea></td>
  </tr>
  <tr>
    <td align="right">内容</td>
    <td>
    <textarea name="content" id="content" class="content" cols="" rows="20" style="width:600px;">
    <%$article.content%>
    </textarea></td>
  </tr>
  
  <tr>
    <td colspan="2">
    <input type="hidden" name="referrer" id="referrer" value="" />
    <input type="hidden" name="aid" value="<%$article.aid%>" />
    <input name="preview" type="button" value="预览" />
    <input name="" type="submit" value="提交" />
    </td>
  </tr>
  </form>
</table>

</div>
<SCRIPT src="style/js/ckeditor/ckfinder/ckfinder.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/ckeditor/ckeditor.js" type=text/javascript></SCRIPT>
<script type="text/javascript">
//<![CDATA[
CKEDITOR.replace('content');
CKFinder.SetupCKEditor(CKEDITOR, 'style/js/ckeditor/ckfinder/');
document.getElementById("referrer").value = document.referrer;
//]]>
</script>
</body>
</html>